<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>HTML DOM - Make a resizable element</title>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap5@1.1.9/src/css/bootstrap.min.css">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap5@1.1.9/src/js/bootstrap.bundle.min.js"></script>
    <style>
        #resizeMe {
            /* Center the content */
            /* Misc */
            border: 1px solid #cbd5e0;
            height: 8rem;
            width: 8rem;
        }

    </style>

    <SCRIPT type="module" LANGUAGE="JavaScript">
        import Resizable from '/resizable.js';
        $(document).ready(function () {
            Resizable.SetElementResizable('#resizeMe', Resizable.Side.RIGHT);
            //Resizable.SetElementResizable('#resizeMe',Resizable.Side.BOTTOM);
        });

    </SCRIPT>
</head>

<body>
    <div id="container">
        <div id="resizeMe" style="position:relative">
            <div>sfsfsfsf</div>
            <div>sfsfsfsf</div>
            <div>sfsfsfsf</div>
            <div>sfsfsfsf</div>
        </div>
    </div>
</body>

</html>
